<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="__ROOT__/css/style.css" rel="stylesheet" />
<script type="text/javascript" src="__ROOT__/js/jquery.js"></script>
</head>
<body style="background:#DEE4ED;padding:0; overflow:hidden; overflow-y:scroll;">
	<div>
		<div class="fanwe-menu" valign="top">
			<foreach name="menus" item="menu" >
                            <php>
                    </php>
			<dl>
				<dt><div><strong>{$menu['name']}</strong></div></dt>
                                <foreach name="menu.nodes" item="node">
                                    <php>if(check_menu_display($node['module'],$node['action'])){</php>
                                    <dd><p><a href="{:U($node['module'].'/'.$node['action'])}" target="mainFrame">{$node['action_name']}</a></p></dd>
                                    <php>}</php>
                                </foreach>
			</dl>
			</foreach>
		</div>
	</div>
	<script>
		if($("a:first").attr("href"))
		{
			top.document.getElementById("mainFrame").src = $("a:first").attr("href");
			$("a:first").parent().parent().addClass("cur");
		};
		
		$("a").click(function(){
			$("a").each(function(){
				$(this).parent().parent().removeClass("cur");
			});
			$(this).parent().parent().addClass("cur");
			$(this).blur();
		});
	</script>
</body>
</html>
